package com.service.base.generator.app.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 表策略配置类
 * 数据库表
 * @author wangyongkun
 * @create 2020/12/13
 */
@Entity
@Data
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
public class TableStrategyConfig implements Serializable {
    private static final long serialVersionUID = 1984147051848076652L;
    @Id
    private Long id;
    private Long dbId;
    private String tableName;
    private String prefix;
    private String modelName;
    private String author;
    private String entityName;
    /**
     * SERVICE| API成中model类
     */
    private String mapperName;
    private String xmlName;
    private String serviceName;
    private String serviceImplName;
    private String controllerName;
    private String apiName;
    private String apiImplName;
    private String entityPackage;
    private String servicePackage;
    private String serviceImplPackage;
    private String mapperPackage;
    private String xmlPackage;
    private String controllerPackage;
    private String entityToName;
    private String entityToPackage;
    private String entityVoName;
    private String entityVoPackage;
    private String entityDtoName;
    private String entityBoName;
    private String entityDtoPackage;
    private String entityBoPackage;
    private String apiPackage;
    private String apiImplPackage;

    // copier
    private String serviceCopierName;   // 在Controller中处理默认值
    private String serviceCopierPackage;  //在Controller中处理 默认值

    /**
     * 自定义属******
     */

    // 每个表单独成立一个包
    private String checked;

    // DAO 包名:
    private String daoPackage;
}
